package com.hd.service;

import com.hd.controller.vo.Node;
import com.hd.pojo.Menu;

import java.util.List;
import java.util.Map;

/**
 * Created by 1 on 2017/11/6.
 */
public interface PermissionService {

    public List<Node> searchNodes4Tree(Integer roleId);

    public void grant(Integer roleId, Integer[] menuIds);

    public Map<Menu,List<Menu>> searchMenus(Integer userId);
}
